package com.hzw.saas.common.pay.unionpay;

import java.util.Map;

import com.hzw.saas.common.pay.unionpay.config.UnionPayConfig;
import com.hzw.saas.common.pay.unionpay.sdk.AcpService;


/**
 * 银联支付工具类
 *
 * @author zzl
 * @since 2020-10-02
 */
public class UnionPayUtil {

    /**
     * 验证签名
     * @param params
     * @return
     */
    public static boolean notifySignCheck(Map<String, String> params) {
        return AcpService.validate(params, UnionPayConfig.config().getEncoding());
    }


}
